home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_libs_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  3.4 KB  |  187 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_libs.c
  31.  */
  32.  
  33. struct   LibEntry {
  34.    struct LibEntry *lib_next;
  35.    char  *lib_ptr;
  36.    char  lib_address[ADDRESSLENGTH];
  37.    char  lib_name[FILENAMELENGTH+2];
  38.    char  lib_pri[PRIORITYLENGTH];
  39.    char  lib_ver[VERSIONLENGTH];
  40.    char  lib_ocnt[8];
  41.    char  lib_rcnt[6];
  42.    char  lib_type[NODETYPELEN];
  43. };
  44.  
  45. extern int libcnt;
  46.  
  47. extern int devcnt;
  48.  
  49. extern int rescnt;
  50.  
  51. LONG __asm liblist_dspfunc(register __a2 char ** , register __a1 struct LibEntry * , register __a0 struct Hook * );
  52.  
  53. extern struct Hook liblist_dsphook;
  54.  
  55. int TestResource(struct Library * );
  56.  
  57. void GetLDRFctList(struct Library *, char);
  58.  
  59. void GetLDRMore(struct Library * , char * , char * );
  60.  
  61. void GetLibMore(struct Library * );
  62.  
  63. void GetDevMore(struct Library * );
  64.  
  65. void GetResMore(struct Library * );
  66.  
  67. void PrintLDR(APTR , char , char * );
  68.  
  69. void PrintLibraries(char * );
  70.  
  71. void PrintDevices(char * );
  72.  
  73. void PrintResources(char * );
  74.  
  75. int FillLDRList(char , struct LibEntry ** );
  76.  
  77. void FreeLibraries(void);
  78.  
  79. void FlushLibraries(void);
  80.  
  81. void FreeDevices(void);
  82.  
  83. void FlushDevices(void);
  84.  
  85. void FreeResources(void);
  86.  
  87. void ShowLibraries(void);
  88.  
  89. void ShowDevices(void);
  90.  
  91. void ShowResources(void);
  92.  
  93. void SendLibList(void);
  94.  
  95. void SendDevList(void);
  96.  
  97. void SendResList(void);
  98.  
  99. extern APTR LibSortList[4];
  100.  
  101. extern APTR WI_Libraries;
  102.  
  103. extern APTR liblist;
  104.  
  105. extern APTR libtext;
  106.  
  107. extern APTR libcount;
  108.  
  109. extern APTR CY_LibSort;
  110.  
  111. extern int libsortstate;
  112.  
  113. extern APTR BT_LibUpdate;
  114.  
  115. extern APTR BT_LibPrint;
  116.  
  117. extern APTR BT_LibPriority;
  118.  
  119. extern APTR BT_LibClose;
  120.  
  121. extern APTR BT_LibRemove;
  122.  
  123. extern APTR BT_LibFunctions;
  124.  
  125. extern APTR BT_LibMore;
  126.  
  127. extern APTR BT_LibExit;
  128.  
  129. void LibrariesWindow(BOOL );
  130.  
  131. extern APTR WI_Devices;
  132.  
  133. extern APTR devlist;
  134.  
  135. extern APTR devtext;
  136.  
  137. extern APTR devcount;
  138.  
  139. extern APTR CY_DevSort;
  140.  
  141. extern int devsortstate;
  142.  
  143. extern APTR BT_DevUpdate;
  144.  
  145. extern APTR BT_DevPrint;
  146.  
  147. extern APTR BT_DevPriority;
  148.  
  149. extern APTR BT_DevRemove;
  150.  
  151. extern APTR BT_DevFunctions;
  152.  
  153. extern APTR BT_DevMore;
  154.  
  155. extern APTR BT_DevExit;
  156.  
  157. void DevicesWindow(BOOL );
  158.  
  159. extern APTR WI_Resources;
  160.  
  161. extern APTR reslist;
  162.  
  163. extern APTR restext;
  164.  
  165. extern APTR rescount;
  166.  
  167. extern APTR CY_ResSort;
  168.  
  169. extern int ressortstate;
  170.  
  171. extern APTR BT_ResUpdate;
  172.  
  173. extern APTR BT_ResPrint;
  174.  
  175. extern APTR BT_ResPriority;
  176.  
  177. extern APTR BT_ResRemove;
  178.  
  179. extern APTR BT_ResFunctions;
  180.  
  181. extern APTR BT_ResMore;
  182.  
  183. extern APTR BT_ResExit;
  184.  
  185. void ResourcesWindow(BOOL );
  186.  
  187.